package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.Heartknowledge;
import org.apache.ibatis.annotations.Delete;

import java.util.List;


/**
 * @description: 心理知识Mapper
 * @author: 陈千鱼不是鱼
 * @date: 2024/10/24 10:49
 **/
public interface HeartknowledgeMapper {

    List<Heartknowledge> selectAll(String name);

    int save(Heartknowledge heartknowledge);

    @Delete("delete from heartknowledge where id = #{id}")
    int deleteById(Integer id);


    int update(Heartknowledge heartknowledge);
}
